package module

import "fmt"

type api struct {
	method  Method
	path    Path
	handler HandlerFunc
}

func newApi() *api {
	return &api{}
}

func (t api)String()string{
	str := fmt.Sprintf("{method:%s, path:%s, handler:%p}",t.method,t.path, t.handler)
	return str
}
